﻿using WhaleAccount.Models;

namespace WhaleAccount.Contracts.Services;
public interface IRecordService
{
    Task<IEnumerable<DayRecordSummary>> GetDayRecordSummaryListAsync(int year, int month);
    Task<IEnumerable<MonthRecordSummary>> GetMonthRecordSummaryListAsync(int year);
    Task<IEnumerable<Record>> GetRecordListAsync(DateTime date);
    Task<int> AddRecordAsync(Record record);
    Task<int> UpdateRecordAsync(Record record);
    Task<int> DeleteRecordsAsync(Record record);
}
